package com.me.bean;

import com.me.ad.ADType;
import com.me.blood.App;
import com.toutiao.ad.BaseAd;

public abstract class CommonAd extends BaseAd {

    ADType type;

    public CommonAd(String id, ADType type) {
        super(id);
        this.type = type;
    }

    public CommonAd(String id, int w, ADType type) {
        super(id, w);
        this.type = type;
    }

    @Override
    public boolean isEnableReport() {
        return App.getApp().isEnable(ADType.REPORT);
    }
}
